package com.axxc.cloud.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.axxc.cloud.service.master.IMasterUserService;
import com.axxc.cloud.service.slave.ISlaveUserService;

@Service
public class CrossDataBaseTranscationService {

	@Autowired
	IMasterUserService masterUserService;

	@Autowired
	ISlaveUserService slaveUserService;

	public void insert() {
		this.masterUserService.insert("master");
		this.slaveUserService.insert("slave");
	}
}
